﻿@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
	<title>@Language.Get("裸钻管理")</title>
	@Html.Partial("commonMeta")
	<link rel="stylesheet" href="~/css/product_add.css?v=@Wholesaler.Common.Version.Get">
</head>
<body>
<div class="views">
	<div class="view view-main">
		<div class="navbar">
			<div class="navbar-inner">
				@* 头部start *@
				<header id="common_header">
					<a class="menu_icon_box" href="javascript:history.go(-1);">
						<b class="back-btn"></b>
					</a>
					<h2 id="page_title">@Language.Get("裸钻新增")</h2>
				</header>
				@* 头部end *@
				<!--<div class="term_btn show_term_btn">
                    <a href="javascript:history.go(-1)">返回</a>
                </div>-->
				@* 引入菜单 *@
				@Html.Partial("teammenu")
			</div>
		</div>
		<div class="toolbar toolbar-bottom">
			<div class="toolbar-inner form_btn">
				<a href="#" class="reset_btn" id="reset_btn">@Language.Get("重置")</a>
				<a href="#" class="submit_btn" id="submit_btn">@Language.Get("确定")</a>
			</div>
		</div>
		<div class="pages navbar-through toolbar-through">
			<div data-page="index" class="page">
				<div class="page-content" id="app_no_header">
					<!--内容区start-->

					<!--<article>-->
					<!--<div class="product_bg">
                        <div class="image_box">
                            <aside class="mask tip_box" id="tip_box">
                                <div class="mask-content tip_content">
                                    <p class="del-p tip_content" id="tip_content"></p>
                                    <p class="check-p"><span class="wsdel-no" id="close_tip_btn">确定</span></p>
                                </div>
                            </aside>
                        </div>-->
					<form name="diaForm" id="form_data" class="form_box" method="post" enctype='application/json'>
						<input type="text" id="id_input" style="display: none;"/>
						<div class="form_control category">
							<label for="Category">@Language.Get("主石类型")：</label>
							<div id="data_category">
								<span data-value="0" class="active">@Language.Get("白钻")</span>
								<span data-value="1">@Language.Get("彩钻")</span>
							</div>
							<input type="number" name="IsFancy" id="Category" value="0" style="display: none;"/>
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("重量")：</label>
							<input type="number" placeholder="@Language.Get("重量")" name="Weight" id="form_Weight"/>
						</div>
						<div class="form_control" id="data_shape_box">
							<label>@Language.Get("形状")：</label>
							<select name="Shape" id="data_shape">
							</select>
						</div>
						<div class="form_control" id="data_color_box">
							<label>@Language.Get("颜色")：</label>
							<select name="Color" id="data_color"></select>
						</div>
						<div class="form_control">
							<label>@Language.Get("净度")：</label>
							<select name="Clarity" id="data_clarity">
							</select>
						</div>
						<div class="form_control">
							<label>@Language.Get("切工")：</label>
							<select name="Cut" id="data_cut"></select>
						</div>
						<div class="form_control">
							<label>@Language.Get("抛光")：</label>
							<select name="Polish" id="data_polish"></select>
						</div>
						<div class="form_control">
							<label>@Language.Get("对称")：</label>
							<select name="Symmetry" id="data_symmetry"></select>
						</div>
						<div class="form_control">
							<label>@Language.Get("荧光")：</label>
							<select name="Fluorescence" id="data_fluorescence"></select>
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("证书")：</label>
							<select name="CertType" id="data_cert"></select>
						</div>
						<div class="form_control">
							<label>@Language.Get("证书号")：</label>
							<input type="text" placeholder="@Language.Get("证书号")" name="CertNo"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("地点")：</label>
							<select name="Place" id="data_place">
							</select>
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("原货号")：</label>
							<input type="text" placeholder="@Language.Get("原货号")" name="OriginSN"/>
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("状态")：</label>
							<select name="Status" id="data_status"></select>
						</div>
						<div class="form_control">
							<label>@Language.Get("尺寸")：</label>
							<input type="text" placeholder="@Language.Get("尺寸")" name="Measurement"/>
						</div>
						<div class="form_control fancy_no">
							<label>@Language.Get("色调")：</label>
							<select name="Hue" id="data_hue"></select>
						</div>
						<div class="form_control fancy_no">
							<label>@Language.Get("奶油")：</label>
							<select name="Milky" id="data_milky"></select>
						</div>
						<div class="form_control">
							<label>@Language.Get("心箭")：</label>
							<select name="HA" id="data_ha"></select>
						</div>
						<div class="form_control">
							<label>@Language.Get("黑点")：</label>
							<input type="text" placeholder="@Language.Get("黑点")" name="BlackDefect"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("瑕疵")：</label>
							<input type="text" placeholder="@Language.Get("瑕疵")" name="OtherDefect"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("肉眼")：</label>
							<select name="EyeClean" id="data_eyeClean"></select>
						</div>
						<div class="form_control" id="data_ReceiptStatus_box"> <!-- 付款-->
							<label>@Language.Get("付款")：</label>
							<select name="ReceiptStatus" id="data_ReceiptStatus">
								<option value="">@Language.Get("付款")</option>
								<!--<option value="1">@Language.Get("已付")</option>-->
								<!--<option value="0">@Language.Get("未付")</option>-->
							</select>
						</div>
						<div class="form_control"> <!-- 买入时间-->
							<label>@Language.Get("买入时间")：</label>
							<input type="text" name="PurchaseTime" placeholder="@Language.Get("买入时间")" readonly id="data_PurchaseTime">
						</div>
						<div class="form_control">
							<label>@Language.Get("发货时间")：</label>
							<input type="text" name="ShipTime" placeholder="@Language.Get("选择日期")" readonly id="data_ShipTime">
						</div>
						<div class="form_control">
							<label>@Language.Get("到货时间")：</label>
							<input type="text" name="ArrivalTime" placeholder="@Language.Get("选择日期")" readonly id="data_ArrivalTime">
						</div>
						<div class="form_control">
							<label>@Language.Get("台宽比")：</label>
							<input type="text" placeholder="@Language.Get("台宽比")" name="TablePct"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("全深比")：</label>
							<input type="text" placeholder="@Language.Get("全深比")" name="DepthPct"/>
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("推荐")：</label>
							<select  name="Tag" id="form_Tag"></select>
						</div>
						<p style="text-align: center;">@Language.Get("参数")</p>
						<div class="form_control">
							<label>@Language.Get("原退点")：</label>
							<input class="change_input" type="number" name="SourceDiscountReturn" placeholder="@Language.Get("原退点")" id="sourceDiscountReturn"/>
						</div>
						<div class="form_control CurrentUSD">
							<label>@Language.Get("原")$：</label>
							<input class="change_input" type="number" name="SourceDolarPerGrain" placeholder="@Language.Get("原美金")" id="sourceDolarPerGrain"/>
						</div>
						<div class="form_control CurrentRMB">
							<label>@Language.Get("原")￥：</label>
							<input class="change_input" type="number" placeholder="@Language.Get("原")￥" id="origin_rmb_price"/>
						</div>
						<div class="form_control CurrentUSD">
							<label>@Language.Get("原")$/ct：</label>
							<input class="change_input" type="number" name="SourceDolarPerCarat" placeholder="@Language.Get("原")$/ct" id="sourceDolarPerCarat"/>
						</div>
						<div class="form_control CurrentRMB">
							<label>@Language.Get("原")￥/ct：</label>
							<input class="change_input" type="number" placeholder="@Language.Get("原")￥/ct" id="origin_rmb_per_price"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("采购退点")：</label>
							<input type="number" name="PurchaseDiscountReturn" placeholder="@Language.Get("采购退点")" id="purchaseDiscountReturn"/>
						</div>
						<div class="form_control CurrentUSD">
							<label>@Language.Get("采购")$：</label>
							<input type="number" name="PurchaseUSDPerGrain" placeholder="@Language.Get("采购")$" id="purchaseUSDPerGrain"/>
						</div>
						<div class="form_control CurrentRMB">
							<label>@Language.Get("采购")￥：</label>
							<input type="number" name="PurchaseRMB" placeholder="@Language.Get("采购")￥" id="purchaseRMB"/>
						</div>
						<div class="form_control CurrentUSD">
							<label>@Language.Get("采")$/ct：</label>
							<input type="number" name="PurchaseUSDPerCarat" placeholder="@Language.Get("采购")$/ct" id="purchaseUSDPerCarat"/>
						</div>
						<div class="form_control"><!-- exchangeRate-->
							<label>@Language.Get("采购汇率")：</label>
							<input type="number" name="PurchaseExchange" placeholder="@Language.Get("采购汇率")" id="purchaseExchange"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("供应商")：</label>
							<input type="text" name="PurchaseSupplier" placeholder="@Language.Get("采购供应商")"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("采购人")：</label>
							<select name="PurchaseAgent" id="purchaseAgent"></select>
						</div>
						<div class="form_control exchangeRate">
							<label>@Language.Get("汇率")：</label>
							<span id="rate" style="display: inline-block;line-height: 30px;"></span>
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("上架状态")：</label>
							<label for="OnShelves" class="point_label">
								<input type="radio" name="OnShelves" value="1" id="OnShelves" checked="checked"/>@Language.Get("上架")
							</label>
							<label for="OffShelves" class="point_label">
								<input type="radio" name="OnShelves" value="0" id="OffShelves" />@Language.Get("下架")
							</label>
						</div>
						<div class="form_control">
							<label>@Language.Get("备注")：</label>
							<textarea name="Comments"></textarea>
						</div>
					</form>
				</div>
				<!--</article>-->


				<!--内容区end-->

			</div>
		</div>
	</div>
</div>
<!--</div>-->


</body>

</html>
@Html.Partial("commonTeamJs")
<script>
    var list=@Html.Raw(ViewBag.PurchaseAgents);
</script>
<script src="~/Js/jquery.validate.min.js"></script>
<script src="~/Js/jquery.form.js"></script>
<script src="~/Js/calcPrice.js?v=@Wholesaler.Common.Version.Get"></script>
<script src="~/js/team/dia_form.js?v=@Wholesaler.Common.Version.Get" type="text/javascript"></script>